package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName ReceiverValveRequest.java
 * @Description TODO
 * @createTime 2023年03月23日
 */
@Data
public class ReceiverValveResponse {


    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty(value = "接收器编号")
    @TableField("receiver_code")
    private String receiverCode;

    @ApiModelProperty(value = "接收器类型 市电款 电池款")
    @TableField("receiver_type")
    private String receiverType;

    @ApiModelProperty(value = "供电方式")
    @TableField("receiver_power_mode")
    private String receiverPowerMode;

    @ApiModelProperty(value = "接收器状态 0-离线,1-正常")
    @TableField("receiver_status")
    private Boolean receiverStatus;

    @ApiModelProperty(value = "电池状态 0-电池正常 1-电池欠压")
    @TableField("battery_status")
    private Boolean batteryStatus;

    @ApiModelProperty(value = "阀门状态 0-开 1-关")
    @TableField("valve_status")
    private Boolean valveStatus;

    @ApiModelProperty(value = "故障状态 0-否 1-是")
    @TableField("broken_status")
    private Boolean brokenStatus;

    @ApiModelProperty(value = "故障原因")
    @TableField("broken_status_info")
    private String brokenStatusInfo;

}